* {
    margin: 0;
    padding: 0;
    color: grey;
}

a {
    text-decoration: none;
}

.container {
    width: 380px;
    height: 600px;
    margin: 20px auto;
    background: url(../img/login_bg.png) no-repeat;
    background-size: 380px 600px;
}

.login {
    display: flex;
    flex-direction: column;
}

.login div:nth-child(1) {
    flex: 1;
    font-size: 18px;
    padding: 10px;
}

.login div:nth-child(1) i {
    font-size: 20px;
    padding-right: 290px;
}

.login div:nth-child(2) {
    flex: 3;
    text-align: center;
    padding: 10px;
}

.login div:nth-child(2) img {
    padding: 20px;
}

.xlogin {
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgb(77, 74, 74);
}

.xlogin span:first-child {
    font-size: 17px;
    margin-left: 30px;
    color: rgb(245, 210, 121);
    border-bottom: 1px solid rgb(245, 210, 121);
    height: 48px;
    line-height: 48px;
    padding: 0px 15px;
}

.xlogin span:last-child {
    font-size: 17px;
    margin-right: 30px;
    color: rgba(255, 255, 255, .7)
}

.login div:nth-child(3) {
    flex: 1;
}

.login div:nth-child(4) {
    flex: 1;
    padding: 10px 0px;
}

.phone {
    width: 300px;
    height: 40px;
    line-height: 50px;
    margin: 0 auto;
    border-bottom: 1px solid rgb(116, 113, 113);
}

.phone span:first-child {
    font-size: 20px;
    color: rgba(255, 255, 255, .7)
}

.phone span:last-child {
    font-size: 15px;
    color: rgba(255, 255, 255, .7);
    margin-left: 45px;
}

.phone input {
    outline: none;
    border: none;
    background: none;
    padding-left: 10px;
    font-size: 16px;
}

.login div:nth-child(5) {
    flex: 1;
    padding: 10px 0px;
}

.login div:nth-child(5) a {
    font-size: 14px;
    color: rgb(245, 210, 121);
    ;
    margin-left: 30px;
}

.login div:nth-child(5) span:first-child {
    font-size: 20px;
    color: rgba(255, 255, 255, .7);
    margin-left: 30px;
}

.login div:nth-child(5) input {
    outline: none;
    border: none;
    background: none;
    font-size: 16px;
    margin-left: 10px;
    width: 150px;
}

.login div:nth-child(6) {
    flex: 1;
    width: 330px;
    margin: 20px auto;
}

.login div:nth-child(6) button {
    height: 45px;
    width: 330px;
    border: none;
    background: rgb(245, 210, 121);
    color: white;
    font-size: 16px;
    cursor: pointer;

}

.login div:nth-child(7) {
    flex: 1;
    width: 305px;
    margin: 5px auto;
}

.login div:nth-child(7) a {
    font-size: 10px;
}

.login div:nth-child(7) span {
    font-size: 10px;
    color: rgb(245, 210, 121);
    ;

}